package com.nervenets.template.hibernate.domain.common;

import com.nervenets.general.hibernate.DomainObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import javax.persistence.Entity;
import javax.persistence.Table;

@ApiModel("银行信息表")
@Entity
@Table
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class Bank extends DomainObject {
    @ApiModelProperty(value = "关联人ID")
    private long unionId;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "卡号")
    private String number;
    @ApiModelProperty(value = "签发银行")
    private String signedOrgan;
    @ApiModelProperty(value = "签发网点")
    private String signedBranch;
}
